home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / mtgrap1c / line.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-29  |  741 b   |  33 lines

  1. /*****************************************************
  2. ; Filename     : line.h
  3. ;
  4. ; Date         : 15-6-94
  5. ; Mod. Date    : 29-7-94
  6. ;
  7. ; Others    : Obtained from Ferraro
  8. ;        : VGA Trainer    (smith9@batis.bis.und.ac.za)
  9. ;        ; VGL20         (morley@camosun.bc.ca)
  10. ;****************************************************/
  11. #ifndef LINE_H
  12. #define LINE_H
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. //clipper routine
  19. int     mtClipLine(int *x1, int *y1, int *x2, int *y2);
  20.  
  21. //line routine
  22. void     mtCLine(int x1, int y1, int x2, int y2, int color);
  23. void     mtLine(int x1,int y1,int x2,int y2,int color);
  24. void     mtHLine(int x1,int x2, int y1, int color);
  25. void     mtVLine(int x1,int y1, int y2, int color);
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif LINE_H
  32.  
  33.